<template>
  <div class="header">
    <img src="https://res.vmallres.com/portal/1.10.10.300/h5/images/logo_red.png" alt />
    <div class="search">
      <i class="el-icon-search"></i>
      <input type="text" placeholder="尤克里里" />
    </div>
    <i class="el-icon-more"></i>
    <img
      src="https://res.vmallres.com/pimages/uomcdn/CN/cms/202111/F4EF91EB72D3D82F0CA772243C6A031E.png"
      alt
    />
  </div>
</template>

<script>
export default {
  name:"Header"
}
</script>

<style scoped>
.header {
  box-sizing: border-box;
  width: 100%;
  height: 58px;
  background: #f1f3f5;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 9999;
}
.header img:first-child {
  width: 80px;
  height: 26px;
  margin-right: 16px;
}
.header .search {
  width: 395px;
  height: 40px;
  padding-left: 13px;
  margin-right: 16px;
  background: #e5e7e8;
  border-radius: 20px;
  display: flex;
  align-items: center;
}
.header .search i {
  margin-right: 8px;
}
.header .search input {
  padding-right: 10px;
  background: #e5e7e8;
  font-size: 16px;
}

.header > i {
  margin-right: 24px;
}
.header img:last-child {
  width: 24px;
  height: 24px;
}
</style>